package com.killer.rpc.fallback;

import com.killer.rpc.EmailServiceFeign;
import org.springframework.stereotype.Component;

@Component
public class EmailServiceFallback implements EmailServiceFeign {
    @Override
    public Boolean sendCode(String email, String code) {
        System.out.println("请求超时了");
        return false;
    }
}
